﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using WMSADL.SY;
using WMSAML.SY;

namespace WMSABL.SY
{
    public class TSystemLogInfoBLL
    {
        TSystemLogInfoDAL dal = new TSystemLogInfoDAL();
        /// <summary>
        /// 
        /// </summary>
        public bool ExistsByID_SystemLogInfo(int id)
        {
            return dal.ExistsByID_SystemLogInfo(id);
        }

        /// <summary>
        /// 
        /// </summary>
        public int Add_SystemLogInfo(TSystemLogInfoEntity entity)
        {
            return dal.Add_SystemLogInfo(entity);
        }

        /// <summary>
        /// 
        /// </summary>
        public bool DeleteByID_SystemLogInfo(int id)
        {
            return dal.DeleteByID_SystemLogInfo(id);
        }
        /// <summary>
        /// 批量删除数据
        /// </summary>
        public bool DeleteList_SystemLogInfo(string idlist)
        {
            return dal.DeleteList_SystemLogInfo(idlist);
        }


        /// <summary>
        /// 更新一条数据
        /// </summary>
        public bool Update_SystemLogInfo(TSystemLogInfoEntity entity)
        {
            return dal.Update_SystemLogInfo(entity);
        }

        /// <summary>
        /// 
        /// </summary>
        public TSystemLogInfoEntity GetModel_SystemLogInfo(int id)
        {
            return dal.GetModel_SystemLogInfo(id);
        }

        /// <summary>
        /// 获得数据列表
        /// </summary>
        public DataSet GetList_SystemLogInfo(string userName, string time)
        {
            return dal.GetList_SystemLogInfo(userName, time);
        }

        /// <summary>
        /// 获取记录总数
        /// </summary>
        public int GetRecordCount_SystemLogInfo(string strWhere)
        {
            return dal.GetRecordCount_SystemLogInfo(strWhere);
        }
    }
}
